/**
 * Package:cn.tst.test;
 * $Id: Constants.java,v 1.2 2008/12/02 03:01:26 yangc Exp $
 * Copyright(c) 2001-2005 www.afteryuan.com
 */
package com.afteryuan.server.support.astar;

/**
 * Constants
 * <p/>
 * <p><a href="Constants.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:afteryuan@afteryuan.com">$Author: yangc $</a>
 * @version $Revision: 1.2 $
 */
public class Constants {
	//无任何障碍对应cost数组的下标
	public static final int EMPTY = 0;
    //不可穿过的固体对应cost数组的下标
    public static final int SOLID = -1;
    //地形1对应cost数组的下标
    public static final int TERRAIN1 = 1;
    //地形2对应cost数组的下标
    public static final int TERRAIN2 = 4;
    //地形3对应cost数组的下标
    public static final int TERRAIN3 = 3;
    //NOTHING
	public static final int NOTHING = 2;
    //起始点对应cost数组的下标
    public static final int START = 5;
    //终点对应cost数组的下标
    public static final int FINISH = 6;
    //数组的数量
    public static final int NUMCOLORS = FINISH + 1;

    public static final int[] LANDFORM = {0,1,2}; 
}

